package cn.migu.music;

import cn.migu.music.hangupsms.common.config.SftpHostConfig;
import cn.migu.music.hangupsms.common.config.HangUpSmsConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @version 1.0 created by 侯京博 on 2021/8/27 10:31
 */
@SpringBootApplication
@ServletComponentScan
@EnableFeignClients
@EnableAsync
@MapperScan("cn.migu.music.hangupsms.repository")
@EnableConfigurationProperties(value = { HangUpSmsConfig.class, SftpHostConfig.class })
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
